package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

@TableName("tb_order")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbOrder {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String orderNum;

    private Integer amount;

}
